﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMSpublic;

namespace Warehouse.Domain
{
    /// <summary>
    /// 入库信息表
    /// </summary>
    public class StockRoom : Audit
    {
        /// <summary>
        /// 入库id
        /// </summary>
        [Key]
        public int StockId { get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string? StockCode { get; set; }
        /// <summary>
        /// 入库单类型
        /// </summary>
        public int? StockOrderType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? SorderNumber { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VendorId { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string? VendorContact {  get; set; }
        /// <summary>
        /// 供应商联系方式
        /// </summary>
        public string? VendorPhone { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? SRremark { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? user_id { get; set; }
    }
}
